﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GemController : MonoBehaviour {

    private Transform m_transform;
    private Transform son_transform;
    
    void Start()
    {
        m_transform = gameObject.GetComponent<Transform>();
        son_transform = m_transform.Find("gem 3");
    }

    void Update()
    {
        son_transform.Rotate(Vector3.up);
    }
		
}
